package com.rskj.res59mng.core.entity;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

/**
 * 当前登录用户信息
 */
public class PwdUpdateForm {

    @NotEmpty(message = "旧密码必须填写.")
    private String spwd;
    @Length(min = 6,max = 20,message = "密码长度必须6-20位之间.")
    private String npwd;
    private String cnpwd;

    public String getSpwd() {
        return spwd;
    }

    public void setSpwd(String spwd) {
        this.spwd = spwd;
    }

    public String getNpwd() {
        return npwd;
    }

    public void setNpwd(String npwd) {
        this.npwd = npwd;
    }

    public String getCnpwd() {
        return cnpwd;
    }

    public void setCnpwd(String cnpwd) {
        this.cnpwd = cnpwd;
    }
}
